<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>
    <style>
        .box{
            width: 300px;
            height: 150px;
            border: 1px solid wheat;
        }
    </style>
</head>
<body>
    <div id="root">
        <div class="box" :style="[obj,obj]">民族复兴</div>
    </div>
</body>
<script>
    Vue.config.productionTip = false
    let vm = new Vue({
        el:"#root",
        data:{
            obj:{background:"yellowgreen"},
            obj1:{
                fontSize:"40px",
                fontWeight:"bold",
                color:"red"
            }
        }
    })
</script>
</html>
